﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NMoq.Core
{
    /// <summary>
    /// This enum is used to determine the interceptor's behaviors after Read Data from DataProvider
    /// </summary>
    [Flags]
    public enum InterceptorActionAfterRead
    {       
        /// <summary>
        /// There is no action after read data from DataProvider
        /// </summary>
        None = 0 ,

        /// <summary>
        /// If read no data from DataProvider , invoke real method to read data
        /// </summary>
        InvokeReal = 1 , 

        /// <summary>
        /// If read data from DataProvider or real method, write the data using DataProvider
        /// </summary>
        Write =2
    }
}
